const webpack = require('webpack');
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack:{
    plugins:[
      new webpack.ProvidePlugin({
        $:'jquery',
        jQuery:'jquery',
        'window.jQuery':'jquery'
      })
    ]
  },
  pages:{
    index:{
      entry:'./src/main.js',
      template:'./public/index.html',
      title:'次元窝',
      filename:'index.html'
    },
    SHOP:{
      entry:'./src/pages/SHOP/SHOP.js',
      template:'./public/SHOP.htm',
      title:'次元口袋',
      filename:'SHOP.html'
    }
  }
})
